Ext.namespace('GBIF.GeoSpatial')
	
GBIF.GeoSpatial.WFSCapabilitiesLayers = function(config){	
	var store;
    
    store = new GeoExt.data.WFSCapabilitiesStore({
         url: '../../resources/api/getcapabilities-proxy.php'
	//	 url:"wfs.xml"
    });
	
	Ext.apply(this,config,{
			title: "WFS Capabilities"
        ,	store: store
		,	loadMask:true
        ,	columns: [
	            	{header: "Title", dataIndex: "title", sortable: true}
	            ,	{header: "Name", dataIndex: "name", sortable: true}
				,	{header: "Abstract", dataIndex: "abstract", sortable: true}
				,	{header: "Keyword", dataIndex: "keywords", sortable: true}
				,	{header: "SRS", dataIndex: "srs", sortable: true}
        	]

	})
	GBIF.GeoSpatial.WFSCapabilitiesLayers.superclass.constructor.call(this, config)
}
Ext.extend(GBIF.GeoSpatial.WFSCapabilitiesLayers,Ext.grid.GridPanel, {
	
})




